import { createRouter, createWebHistory } from 'vue-router'
import LoginView from '../views/user/LoginView.vue'
import AI from '@/views/ai/TheAi.vue'
import RegistView from '@/views/user/RegistView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: LoginView,
    },
    {
      path: '/ai',
      name: 'ai',
      component: AI,
    },
    {
      path: '/reg',
      name: 'reg',
      component: RegistView,
    },
  ],
})

export default router
